package com.abss.vote.model;

/**
 * 管理员表
 */
public class Administrators {

    private Integer ID;

    private String ADMIN_ACCOUNT;//账号

    private String ADMIN_PASSWORD;//密码

    private String ADMIN_NAME;//姓名

    private String PHONE;//手机号

    private Integer DISTRICT_ID;//地区编号

    private String DISTRICT_NAME;//地区名字

    private String IS_SUPER_ADMIN;//是否超级管理员

    private Integer LAST_ACTIVITY_ID;//最后一次浏览的活动ID

    private Integer LAST_DOWNACTIVITY_ID;//最后一次浏览的活动ID

    private Integer PARENT_ID;   //父辈管理员id

    private String PARENT_NAME;//父辈名字

    private String ADMIN;

    public String getADMIN() {
        return ADMIN;
    }

    public void setADMIN(String ADMIN) {
        this.ADMIN = ADMIN;
    }

    private String FACE_IMG;

    public String getFACE_IMG() {
        return FACE_IMG;
    }

    public void setFACE_IMG(String FACE_IMG) {
        this.FACE_IMG = FACE_IMG;
    }

    private String SERVER_ID;

    public String getSERVER_ID() {
        return SERVER_ID;
    }

    public void setSERVER_ID(String SERVER_ID) {
        this.SERVER_ID = SERVER_ID;
    }

    public String getPARENT_NAME() {
        return PARENT_NAME;
    }

    public void setPARENT_NAME(String PARENT_NAME) {
        this.PARENT_NAME = PARENT_NAME;
    }

    private Integer LEVEL;  //该账号级别   （0  超级管理员      1 省级管理员     2市级管理员     3区级管理员       4普通管理员）

    public int getLAST_ACTIVITY_ID() {
        return LAST_ACTIVITY_ID;
    }

    public void setLAST_ACTIVITY_ID(int LAST_ACTIVITY_ID) {
        this.LAST_ACTIVITY_ID = LAST_ACTIVITY_ID;
    }

    private String role;

    public String getRole() {
        return "普通管理员";
    }

    public void setRole(String role) {
        this.role = "普通管理员";
    }

    public Integer getID() {
        return ID;
    }

    public void setID(Integer ID) {
        this.ID = ID;
    }

    public String getADMIN_ACCOUNT() {
        return ADMIN_ACCOUNT;
    }

    public void setADMIN_ACCOUNT(String ADMIN_ACCOUNT) {
        this.ADMIN_ACCOUNT = ADMIN_ACCOUNT;
    }

    public String getADMIN_PASSWORD() {
        return ADMIN_PASSWORD;
    }

    public void setADMIN_PASSWORD(String ADMIN_PASSWORD) {
        this.ADMIN_PASSWORD = ADMIN_PASSWORD;
    }

    public String getADMIN_NAME() {
        return ADMIN_NAME;
    }

    public void setADMIN_NAME(String ADMIN_NAME) {
        this.ADMIN_NAME = ADMIN_NAME;
    }

    public String getPHONE() {
        return PHONE;
    }

    public void setPHONE(String PHONE) {
        this.PHONE = PHONE;
    }

    public Integer getDISTRICT_ID() {
        return DISTRICT_ID;
    }

    public void setDISTRICT_ID(Integer DISTRICT_ID) {
        this.DISTRICT_ID = DISTRICT_ID;
    }

    public String getDISTRICT_NAME() {
        return DISTRICT_NAME;
    }

    public void setDISTRICT_NAME(String DISTRICT_NAME) {
        this.DISTRICT_NAME = DISTRICT_NAME;
    }

    public String getIS_SUPER_ADMIN() {
        return IS_SUPER_ADMIN;
    }

    public void setIS_SUPER_ADMIN(String IS_SUPER_ADMIN) {
        this.IS_SUPER_ADMIN = IS_SUPER_ADMIN;
    }


    public void setLAST_ACTIVITY_ID(Integer LAST_ACTIVITY_ID) {
        this.LAST_ACTIVITY_ID = LAST_ACTIVITY_ID;
    }

    public Integer getPARENT_ID() {
        return PARENT_ID;
    }

    public void setPARENT_ID(Integer PARENT_ID) {
        this.PARENT_ID = PARENT_ID;
    }

    public Integer getLEVEL() {
        return LEVEL;
    }

    public void setLEVEL(Integer LEVEL) {
        this.LEVEL = LEVEL;
    }

    public Integer getLAST_DOWNACTIVITY_ID() {
        return LAST_DOWNACTIVITY_ID;
    }

    public void setLAST_DOWNACTIVITY_ID(Integer LAST_DOWNACTIVITY_ID) {
        this.LAST_DOWNACTIVITY_ID = LAST_DOWNACTIVITY_ID;
    }

    @Override
    public String toString() {
        return "Administrators{" +
                "ID=" + ID +
                ", ADMIN_ACCOUNT='" + ADMIN_ACCOUNT + '\'' +
                ", ADMIN_PASSWORD='" + ADMIN_PASSWORD + '\'' +
                ", ADMIN_NAME='" + ADMIN_NAME + '\'' +
                ", PHONE='" + PHONE + '\'' +
                ", DISTRICT_ID=" + DISTRICT_ID +
                ", DISTRICT_NAME='" + DISTRICT_NAME + '\'' +
                ", IS_SUPER_ADMIN='" + IS_SUPER_ADMIN + '\'' +
                ", LAST_ACTIVITY_ID=" + LAST_ACTIVITY_ID +
                ", LAST_DOWNACTIVITY_ID=" + LAST_DOWNACTIVITY_ID +
                ", PARENT_ID=" + PARENT_ID +
                ", PARENT_NAME='" + PARENT_NAME + '\'' +
                ", ADMIN='" + ADMIN + '\'' +
                ", FACE_IMG='" + FACE_IMG + '\'' +
                ", SERVER_ID='" + SERVER_ID + '\'' +
                ", LEVEL=" + LEVEL +
                ", role='" + role + '\'' +
                '}';
    }
}




















